package com.baizhi.cmfz.service;

import com.baizhi.cmfz.entity.User;

import java.util.Map;
import java.util.Set;

public interface UserService {
    public User selectUser(User user);
    public Map insertUser(User user);
    public  Map deleteUser(int uid);
    public  Map updateUser(User user);

    public  Map selectByPageUser(int page ,int limit);

    User selectOneUser(int id);
    //查询用户具有的角色
    Set<String>selectRelo(String username);

    Set<String>selectResource(String username);

    User loginUser(String  username);

    Set<String>selectRoleTest(String  username);

    Set<String>selectResourceTest(String username);
}
